<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />
<title>FLDCMS后台管理系统</title>
<meta name="keywords" content="FLDCMS，FLDCMS后台管理系统">
<meta name="description" content="FLDCMS，是一款由FLD开发的轻量级扁平化网站后台模板，适合中小型CMS后台系统。">
{include file="public/header" /}
</head>
<style>
    
</style>
<body>
<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 首页
	{notempty name="$node_info.p_title"}
	<span class="c-gray en">&gt;</span>
		{$node_info.p_title}
	{/notempty}
	{notempty name="$node_info.node_title"}
	<span class="c-gray en">&gt;</span>
		{$node_info.node_title}
	{/notempty}
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
		<i class="Hui-iconfont">&#xe68f;</i>
	</a>
</nav>
<div class="page-container">
	<form class="form form-horizontal" id="form-add" enctype="multipart/form-data" action="{:url('site/email_setting')}" method="post">
		<input type="hidden" name="form_submit" value="ok"/>
		<div id="tab-system" class="HuiTab">
			<div class="tabBar cl">
				<a href="{:url('site/setting')}"><span>网站配置</span></a>
				<a href="{:url('site/email_setting')}"><span class="current">邮件设置</span></a>
			</div>
			<div class="tabCon" style="display: block;">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						SMTP 服务器：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" name="email_host" id="email_host" placeholder="设置 SMTP 服务器的地址，如 smtp.163.com" value="{$email_info.email_host}" class="input-text" maxlength="50">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						SMTP 端口：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" name="email_port" id="email_port" placeholder="设置 SMTP 服务器的端口，默认为 25" value="{$email_info.email_port}" class="input-text" maxlength="50">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						发信人邮件地址：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" name="email_addr" id="email_addr" placeholder="使用SMTP协议发送的邮件地址，如 fldcms@163.com" value="{$email_info.email_addr}" class="input-text" maxlength="160">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						SMTP 身份验证用户名：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" name="email_id" id="email_id" placeholder="如 fldcms@163.com" value="{$email_info.email_id}" class="input-text" maxlength="160">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						SMTP 身份验证密码：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" name="email_pass" id="email_pass" placeholder="fldcms@163.com邮件的密码，如 123456" value="{$email_info.email_pass}" class="input-text" maxlength="50">
					</div>
				</div>
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<button class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存</button>
				<button onClick="removeIframe();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>
</div>
{include file="public/footer" /}
</body>
</html>